package com.zyj.services;

import com.zyj.beans.Student;
import com.zyj.mapper.StudentMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StudentService {
    @Resource
    private StudentMapper studentMapper;

    public List<Student> queryAll() {
        return studentMapper.queryAll();
    }
}